<%@ page contentType="text/html; charset=ISO-8859-1" isELIgnored="false" language="java" %>
<%@ page import="java.util.Collection" %>
<%@ page import="avishay.balderman.dao.*" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 

<%
	Collection<TeamMember> teamMembers = TeamMemberHelper.getTeamMembers();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
	<title>Team Members</title> 
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
	<link rel="stylesheet" type="text/css" href="../css/table.css" /> 
</head> 
<body>
	<table class="sofT" cellspacing="0">
		<caption>Team Members</caption>
		<tr><td class="helpHed">First Name</td><td class="helpHed">Last Name</td><td class="helpHed">Email</td><td class="helpHed">Address</td><td class="helpHed">Phone Number</td></tr>
		<c:forEach var="teamMember" items="<%= teamMembers %>">
        	<tr><td>${teamMember.firstName}</td><td>${teamMember.lastName}</td><td>${teamMember.email}</td><td>${teamMember.address}</td><td>${teamMember.phoneNumbersAsHTML}</td></tr>
   		</c:forEach>
	</table>
</body> 
</html>